﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ZhimeiSoft.CharmManager.DOL;

namespace ZhimeiSoft.CharmManager.Server.BLL.Interface
{
    public interface ICustomerBLL
    {
        /// <summary>
        /// 添加客户信息
        /// </summary>
        /// <param name="customer"></param>
        /// <returns></returns>
        void InsertCustomer(DBEntityCustomInfo customerInfo);

        /// <summary>
        /// 修改客户信息
        /// </summary>
        /// <param name="customer"></param>
        void UpdateCustomer(DBEntityCustomInfo customerInfo);

        /// <summary>
        /// 删除客户信息
        /// </summary>
        /// <param name="customerID"></param>
        void DeleteCustomer(int customerID);
        /// <summary>
        /// 根据用户状态获取信息
        /// </summary>
        /// <param name="sateStr">状态字符串</param>
        /// <returns>返回数据</returns>
        DataSet QueryCustomState(string stateStr);
        /// <summary>
        /// 根据用户ID获取用户信息
        /// </summary>
        /// <param name="customerID">用户ID</param>
        /// <returns></returns>
        DataSet QueryCustomID(int customerID);
        /// <summary>
        /// 根据会员姓名查询信息
        /// </summary>
        /// <param name="customName"></param>
        /// <returns></returns>
        DataSet QueryCustomName(string customName);
    }
}
